﻿namespace Whut.ObjectSharePointMapper.Internals
{
    using System;

    public class ConditionInfo
    {
        public ConditionInfo(ConditionOperator conditionOperator, FieldInfo fieldInfo, ConditionType conditionType, object fieldValue)
        {
            this.Operator = conditionOperator;
            this.FieldInfo = fieldInfo;
            this.Type = conditionType;
            this.FieldValue = fieldValue;
        }

        public ConditionOperator Operator { get; private set; }

        public FieldInfo FieldInfo { get; private set; }

        public ConditionType Type { get; private set; }

        public object FieldValue { get; private set; }
    }
}
